/**
 * @author goufahui 1344116821@qq.com
 * @version 0.0.1
 * @description //注册全局组件
 */

import webPage from '@c/page.vue'
import webUpload from '@c/upload.vue'
import userPanelPlus from '@c/userPanelPlus.vue'
import deptPanel from '@c/deptPanel.vue'
import wangEditor from '@c/wangEditor.vue'
import createForm from "@p/form/create";
import handleForm from "@p/form/handle";
import createFlow from "@p/flow/create";
import resultFlow from "@p/flow/result";

export default {
  install(Vue) {
    // 分页
    Vue.component('webPage', webPage)
    //上传
    Vue.component('webUpload', webUpload)
    //用户面板
    Vue.component('userPanelPlus', userPanelPlus)
    //部门面板
    Vue.component('deptPanel', deptPanel)
    //富文本编辑器
    Vue.component('wangEditor', wangEditor)
    //自定义表单
    Vue.component('createForm', createForm)
    Vue.component('handleForm', handleForm)
    Vue.component('createFlow', createFlow)
    Vue.component('resultFlow', resultFlow)
  },
}
